package cn.getech.data.metadata.feign;

import cn.getech.data.development.api.DefaultSecurityDataApi;
import cn.getech.data.intelligence.common.config.FeignConfiguration;
import cn.getech.data.intelligence.common.constants.MicroServiceConstant;
import cn.getech.data.metadata.factory.SecurityDataFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;


@Component
@FeignClient(value = MicroServiceConstant.DATA_DEPARTMENT_SERVICE,
        path = MicroServiceConstant.DATA_DEPARTMENT_PATH,
        configuration = FeignConfiguration.class,fallbackFactory = SecurityDataFallbackFactory.class)
public interface SecurityDataFeignApi extends DefaultSecurityDataApi {

}
